<?php
$model_lang = new Language_Model();
$list = $model_lang->get_with_active();
$lang = array();
for($i=0; $i<count($list); $i++)
{
	$lang['txt_title'.$list[$i]['languages_id']] = array
    (
        'required' => '['.$list[$i]['languages_name'].'] The Title field is required.',
    );
	$lang['txt_description'.$list[$i]['languages_id']] = array
    (
        'required' => '['.$list[$i]['languages_name'].'] The Description field is required.',
    );
	$lang['txt_content'.$list[$i]['languages_id']] = array
    (
        'required' => '['.$list[$i]['languages_name'].'] The Content field is required.',
    );
}
?>